package org.game.module.datingbo.trigger;

import org.game.db.bean.CityDatingRecord;
import org.game.db.bean.Player;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * 定时约会触发器
 * Created by fxf on 2018-3-14.
 */
public interface CityDatingTrigger {

    /**
     * 触发城市约会
     * @param player 玩家
     * @param timeFrame 时间段
     * @param now 当前时间
     */
    void triggerDating(Player player, Map<String,List<Integer>> timeFrame, Date now);

    /**
     * 刷新城市约会
     */
    void refreshCityDating(Player player, List<CityDatingRecord> recordList, Date now);

}
